
#ifndef  _ShowItem_H_
#define  _ShowItem_H_


// #import <Foundation/Foundation.h>
#include <stdio.h>

#include "cocos2d.h"
#include "cocostudio/CocoStudio.h"
#include "ui/CocosGUI.h"


USING_NS_CC;
using namespace cocostudio;
using namespace std;
using namespace ui;





#pragma -mark
class ShowItem: public Node
{
public:
    CREATE_FUNC(ShowItem);
    bool init();

public:
    void onClick(Button *btn, int x, int y);
    void setIndex(int idx);
    int getIndex();
    void setBindTaskId(int taskid);
    void updateShow(__Dictionary *oneInfo);

private:
    Text *m_title;
    ImageView *m_img;
    int m_taskId;
    int m_index;
};









#endif






